<style>
.jy2-headertop {position: absolute; min-height: 100%;padding-top:0.3rem;padding-bottom:0.3rem;margin-top:-2rem;border-top-right-radius:1rem;border-top-left-radius:1rem;}
.fui-header a.back:before {
	border-color: #fff
}
.fui-header:after {
	border-bottom: 0 solid #D9D9D9;
}
</style>
<div class='fui-page  fui-page-current' ng-if="pagedata.op=='list'">
	<div class="topbg" style="position: relative;text-align:center;width:100%;height:4.5rem;background: linear-gradient(#7c1cc9, #923ed5);">
			<div class="fui-header" style="background:none">
				<div class="fui-header-left">
					<a class="back" style="color:#fff" href="javascript:" ng-click="goforward(pagedata.forward_url)"></a>
				</div>
				<div class="title bold" style="font-size:1rem;color:#fff">提货点</div>
			</div>
	</div>
    <div class='fui-content jy2-headertop'>
		<div class='content-empty' ng-show="pagedata.list.length<=0">
			<i class='fa fa-comment-o'></i>
			<br/>您还没有任何提货点
		</div>
		<div style="padding:0.5rem">
		<div class="fui-list-group address-item radius" style='margin-top:5px;' ng-repeat="item in pagedata.list">
			<div  class="fui-list" >
			<div class="fui-list-inner">
				<div class="title bold"><span class='red'>{{item.title}}</span></div>
				<div class="title"><span class='realname'>{{item.name}}</span> <span class='mobile'>{{item.mobile}}</span></div>
				<div class="text"><span class='address'>{{item.pcd.province}}&nbsp{{item.pcd.city}}&nbsp{{item.pcd.district}}&nbsp{{item.pcd.street}}&nbsp{{item.address}}</span></div>
				<div class='bar' >
				<span class='pull-right'>
					<a class="external" href="javascript:;" ng-click="access_json('jy_merch/manage.tihuo/edit/id='+item.id)">
					<i class='fa fa-edit'></i> 编辑
					</a>
					&nbsp;&nbsp;
					<a class='external' href="javascript:;" ng-click="post({},'jy_merch/manage.tihuo/del/id='+item.id)">
					<i class='fa fa-trash-o'></i> 删除
					</a>
				</span>
				<label class='radio-inline'>
					<input type="radio" class="fui-radio  fui-radio-danger" ng-checked="item.isdefault==1" ng-click="modal_post({},'jy_merch/manage.tihuo/set/id='+item.id)"/> 设置默认
				</label>
				</div>
			</div>
			</div>
		</div>
		</div>
		<div class='fui-navbar'>
			<a href="javascript:;" class='nav-item btn btn-danger external' ng-click="access_json('jy_merch/manage.tihuo/edit/')"><i class="fa fa-plus-square-o"></i> 新建提货点</a>
		</div>
    </div>
</div>
<div class="fui-page fui-page-current" ng-if="pagedata.op=='choose'">
    <div class="fui-content">
		<div id="l-map"></div>
		<div class="weui_cells weui_cells_radio2">
				<label class="weui_cell weui_check_label" ng-repeat="item in pagedata.addresslist">
					<div class="weui_cell_bd weui_cell_primary">
						<span>{{item.title}}</span>
					</div>
					<div class="weui_cell_ft">
						<input type="radio" class="weui_check">
						<span class="weui_icon_checked"></span>
					</div>
				</label>
	   </div>
	</div>
	<div class="fui-navbar" style="background:#09ba07;">
		<a href="javascript:;" ng-click="pagedata.submit(0);" class="nav-item" style="color:#fff">完成</a>
	</div>
</div>
<script type="text/javascript">
</script>

